package com.yunkazaixian.syntelecom.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 租户表
 * </p>
 *
 * @author Guo
 * @since 2025-04-07
 */
@TableName("sys_tenant")
@ApiModel(value = "SysTenant对象", description = "租户表")
public class SysTenant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("租户编号")
    private String tenantId;

    @ApiModelProperty("联系人")
    private String contactUserName;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("企业名称")
    private String companyName;

    @ApiModelProperty("统一社会信用代码")
    private String licenseNumber;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("企业简介")
    private String intro;

    @ApiModelProperty("域名")
    private String domain;

    @ApiModelProperty("域名备案号")
    private String domainRecordNumber;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("租户套餐编号")
    private Long packageId;

    @ApiModelProperty("过期时间")
    private Date expireTime;

    @ApiModelProperty("用户数量（-1不限制）")
    private Integer accountCount;

    @ApiModelProperty("租户状态（0正常 1停用）")
    private String status;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty("创建部门")
    private Long createDept;

    @ApiModelProperty("创建者")
    private Long createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者")
    private Long updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("是否独立部署 0是1否")
    private String isDeploy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getContactUserName() {
        return contactUserName;
    }

    public void setContactUserName(String contactUserName) {
        this.contactUserName = contactUserName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getDomainRecordNumber() {
        return domainRecordNumber;
    }

    public void setDomainRecordNumber(String domainRecordNumber) {
        this.domainRecordNumber = domainRecordNumber;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getAccountCount() {
        return accountCount;
    }

    public void setAccountCount(Integer accountCount) {
        this.accountCount = accountCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCreateDept() {
        return createDept;
    }

    public void setCreateDept(Long createDept) {
        this.createDept = createDept;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsDeploy() {
        return isDeploy;
    }

    public void setIsDeploy(String isDeploy) {
        this.isDeploy = isDeploy;
    }

    @Override
    public String toString() {
        return "SysTenant{" +
            "id = " + id +
            ", tenantId = " + tenantId +
            ", contactUserName = " + contactUserName +
            ", contactPhone = " + contactPhone +
            ", companyName = " + companyName +
            ", licenseNumber = " + licenseNumber +
            ", address = " + address +
            ", intro = " + intro +
            ", domain = " + domain +
            ", domainRecordNumber = " + domainRecordNumber +
            ", remark = " + remark +
            ", packageId = " + packageId +
            ", expireTime = " + expireTime +
            ", accountCount = " + accountCount +
            ", status = " + status +
            ", delFlag = " + delFlag +
            ", createDept = " + createDept +
            ", createBy = " + createBy +
            ", createTime = " + createTime +
            ", updateBy = " + updateBy +
            ", updateTime = " + updateTime +
            ", isDeploy = " + isDeploy +
        "}";
    }
}
